package question;

/**
 * Created by IntelliJ IDEA.
 * User: Shawn
 * Date: 2009-5-29
 * Time: 12:54:18
 */
public class QuestionInfo {
  private long qid;
  private int cid;

  private int tx;
  private String content;
  private String answer;

  private int important;
  private int complexity;
  private int type;

  private long pickTime;
  private long rightTime;

  public QuestionInfo() {
  }

  public QuestionInfo(int cid, int tx, String content, String answer) {
    this.cid = cid;
    this.tx = tx;
    this.content = content;
    this.answer = answer;
    this.important = 0;
    this.complexity = QuestionVar.COMPLEXITY_LOW;
    this.type = QuestionVar.TYPE_EXAM;
  }

  public long getQid() {
    return qid;
  }

  public void setQid(long qid) {
    this.qid = qid;
  }

  public int getCid() {
    return cid;
  }

  public void setCid(int cid) {
    this.cid = cid;
  }

  public int getTx() {
    return tx;
  }

  public void setTx(int tx) {
    this.tx = tx;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getAnswer() {
    return answer;
  }

  public void setAnswer(String answer) {
    this.answer = answer;
  }

  public int getImportant() {
    return important;
  }

  public void setImportant(int important) {
    this.important = important;
  }

  public int getComplexity() {
    return complexity;
  }

  public void setComplexity(int complexity) {
    this.complexity = complexity;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public long getPickTime() {
    return pickTime;
  }

  public void setPickTime(long pickTime) {
    this.pickTime = pickTime;
  }

  public long getRightTime() {
    return rightTime;
  }

  public void setRightTime(long rightTime) {
    this.rightTime = rightTime;
  }
}
